import service from "../request";

const controller = 'projectInfo'

function query(data:any){
    return service({
        method:'get',
        url:controller,
        data
    })
}

function getMy(data:any){
    return service({
        method:'get',
        url:controller+"/getMy",
        data
    })
}

function get(id:number):any{
    return service({
        method:'get',
        url:controller+`/${id}`
    })
}

export default {
    query,
    getMy,
    get
}